package com.ruoyi.report.mapper;


import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.report.domain.HeatSource;

public interface HeatSourceMapper {


    /**
     * 获取到最新的上传记录
     */
    @DataSource(value = DataSourceType.SLAVE)
    HeatSource getLatestRecord();


    /**
     * 更新热量表
     */
    @DataSource(value = DataSourceType.SLAVE)
    int updateLatestRecord(HeatSource heatSource);


}
